package com.jtny.nytb.config.datafactor.dto;

import com.jtny.component.annotation.QueryParamField;
import com.jtny.component.entity.PageParam;
import com.jtny.component.enums.FieldMatchingTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author 智慧能源中心 - 伍天宇
 * @package com.jtny.nytb.config.datafactor.dto
 * @fileName QueryDataParamSupplyDTO.java
 * @createTime 2024年01月18日 15:51
 * @Copyright© 2024 jtny
 * 江投能源技术研究院 版权所有
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class QueryDataParamSupplyDTO extends PageParam implements Serializable {

    @QueryParamField(columnName = "id", matchingType = FieldMatchingTypeEnum.IN)
    private List<Long> idList;

    @QueryParamField(columnName = "unit_group_code", matchingType = FieldMatchingTypeEnum.EQ)
    private String unitGroupCode;

    @QueryParamField(columnName = "data_category", matchingType = FieldMatchingTypeEnum.EQ)
    private String dataCategory;

    @QueryParamField(columnName = "energy_purpose", matchingType = FieldMatchingTypeEnum.EQ)
    private String energyPurpose;
}
